#!/bin/bash
if [ $# != 2 ]
then
	echo 'fifo dev_branch 队列启动参数(batch_restart,batch_stop,batch_start...)'
else
	
	if [ $1 == simoyang   ]
	then		
		sudo su - user_00 -l -c "/data/home/simoyang/web_v2/app/misc/fifo_queue.sh  $2"
	elif [ $1 == renweiqing ]
	then
		sudo su - user_00 -l -c "/data/home/renweiqing/web_v2/app/misc/fifo_queue.sh  $2"
	else
		sudo su - user_00 -l -c "/data/web/huoban_$1_v2/app/misc/fifo_queue.sh  $2"
	fi
fi
